﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;

namespace Mengsk.ProxyDelivery.App.UI.Goods
{
    class ShoesSkuGroupVM : DependencyObject
    {
        public static readonly DependencyProperty EdtionProperty = DependencyProperty.Register("Edtion", typeof(string), typeof(ShoesSkuGroupVM));
        public static readonly DependencyProperty ShoesSkusProperty = DependencyProperty.Register("ShoesSkus", typeof(System.Collections.ObjectModel.ObservableCollection<ShoesSkuVM>), typeof(ShoesSkuGroupVM));

        public string Edtion { get { return (string)this.GetValue(EdtionProperty); } set { this.SetValue(EdtionProperty, value); } }

        public ObservableCollection<ShoesSkuVM> ShoesSkus { get { return (ObservableCollection<ShoesSkuVM>)this.GetValue(ShoesSkusProperty); } set { this.SetValue(ShoesSkusProperty, value); } }

        public ShoesSkuGroupVM(string edtion)
        {
            this.Edtion = edtion;
            this.ShoesSkus = new ObservableCollection<ShoesSkuVM>();
        }
    }
}
